﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2013/7/11 星期四 7:53:02
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using Sector7.Framework.Core;

namespace Sector7.Framework.Core
{
    /// <summary>
    /// 查询条件实体类
    /// </summary>
    [Serializable()]
    [DataContract]
    public class EntityConditionBase : EntityBase
    {
        #region Accessor

        /// <summary>
        /// 获取或设置条件名称
        /// </summary>
        [DataMember]
        public string ConditionName { get; set; }

        /// <summary>
        /// 获取或设置条件值
        /// </summary>
        [DataMember]
        public object ConditionValue { get; set; }

        #endregion

        #region Structure

        public EntityConditionBase()
        {
        }

        public EntityConditionBase(string conditionName, object conditionValue)
        {
            ConditionName = conditionName;
            ConditionValue = conditionValue;
        }

        #endregion
    }
}
